<!DOCTYPE html>
<html class="x-admin-sm">
    <head>
        <meta charset="UTF-8">
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8" />
        <link rel="stylesheet" href="/css/font.css">
        <link rel="stylesheet" href="/css/xadmin.css">
        <script src="/lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="/js/xadmin.js"></script>
        <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
        <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
    </head>
    <body>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body ">
                            <blockquote class="layui-elem-quote">
                                {php}echo config('lang.welcome.time'){/php}
                            </blockquote>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header">
                            {php}echo config('lang.welcome.data_statistics'){/php}
                        </div>
                        <div class="layui-card-body ">
                            <ul class="layui-row layui-col-space10 layui-this x-admin-carousel x-admin-backlog">
                                <li class="layui-col-md2 layui-col-xs6">
                                    <a href="javascript:;" class="x-admin-backlog-body">
                                        <h3>
                                            {php}echo config('lang.welcome.number_of_administrators'){/php}
                                        </h3>
                                        <p>
                                            {php}$adminUsersCount = \app\controller\AdminUsers::getCount(new \app\model\AdminUsers());{/php}
                                            <cite>
                                                {$adminUsersCount}
                                            </cite>
                                        </p>
                                    </a>
                                </li>
                                <li class="layui-col-md2 layui-col-xs6">
                                    <a href="javascript:;" class="x-admin-backlog-body">
                                        <h3>
                                            {php}echo config('lang.welcome.number_of_operating'){/php}
                                        </h3>
                                        <p>
                                            {php}$operatingLogCount = \app\controller\SystemOperatingLog::getCount(new \app\model\SystemOperatingLog());{/php}
                                            <cite>
                                                {$operatingLogCount}
                                            </cite>
                                        </p>
                                    </a>
                                </li>
                                <li class="layui-col-md2 layui-col-xs6">
                                    <a href="javascript:;" class="x-admin-backlog-body">
                                        <h3>
                                            {php}echo config('lang.welcome.number_of_login_log'){/php}
                                        </h3>
                                        <p>
                                            {php}$adminLoginLogCount = \app\controller\AdminLoginLog::getCount(new \app\model\AdminLoginLog());{/php}
                                            <cite>
                                                {$adminLoginLogCount}
                                            </cite>
                                        </p>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header">
                            {php}echo config('lang.welcome.system_message'){/php}
                        </div>
                        <div class="layui-card-body ">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <th>
                                            {php}echo config('lang.welcome.system_version'){/php}
                                        </th>
                                        <td>
                                            {php}echo config('lang.common.version'){/php}
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            {php}echo config('lang.welcome.server_address'){/php}
                                        </th>
                                        <td>
                                            {php}echo $_SERVER["HTTP_HOST"]{/php}
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            {php}echo config('lang.welcome.os'){/php}
                                        </th>
                                        <td>
                                            {php}echo php_uname(){/php}
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            {php}echo config('lang.welcome.php_version'){/php}
                                        </th>
                                        <td>
                                            {php}echo PHP_VERSION{/php}
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            {php}echo config('lang.welcome.php_om'){/php}
                                        </th>
                                        <td>
                                            {php}echo php_sapi_name(){/php}
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header">
                            {php}echo config('lang.welcome.development_team'){/php}
                        </div>
                        <div class="layui-card-body ">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <th>
                                            {php}echo config('lang.welcome.copyright'){/php}
                                        </th>
                                        <td>
                                            {php}echo config('lang.common.author'){/php}
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            {php}echo config('lang.welcome.developer'){/php}
                                        </th>
                                        <td>
                                            {php}echo config('lang.common.author').' - '.config('lang.common.email_address'){/php}
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <style id="welcome_style"></style>
            </div>
        </div>
    </body>
</html>